package cn.com.algery.temp.dao;

import java.util.List;
import java.util.Set;

import org.apache.ibatis.annotations.Param;

import cn.com.algery.temp.domain.Roles;
import cn.com.algery.temp.domain.User;
import cn.com.algery.temp.domain.UserRoles;

public interface UserMapper {
	public User queryUserByName(String user_account);
	public void updateUser(User user);
    public Set<String> queryRolesByName(String user_account);
    public List<UserRoles> queryAllUserRoles(@Param("start")Integer start,@Param("limit")Integer limit,@Param("user_name")String user_name);
    public Integer getUserRolesCount(String user_name);
    public void updateUserRoles(UserRoles userRoles);
    public List<Roles> queryAllRoles();
}
